<template>
  <div class="all">
    <too></too>
    <div class="top">
      <img src="../assets/banner.png" class="top_img"/>
    </div>
    <div class="fu">
      <div class="about"><b>ABOUT</b></div>
      <div class="img1">
        <img src="../assets/bg5.png" class="top_img top_img2"/>
      </div>
      <div class="guanyu">
        <div class="gy_tit">关于我们</div>
        <div class="our">
          <img src="../assets/zuo2.png" class="our_img">
          <div>OUR&nbsp;&nbsp;&nbsp;PRODUCT</div>
          <img src="../assets/you2.png" class="our_img">
        </div>
        <div class="list">
          <img :src="this.$common.baseUrl + abouitem.jianjie_image" class="list_img1"/>
          <div class="list_right">
            <div class="list_tit">公司简介</div>
            <div class="tit_gray">COMPANY ROFILE</div>
            <div class="list_con">
              {{abouitem.jianjie}}
            </div>
          </div>
        </div>
        <div class="list">
          <div class="list_right">
            <div class="list_tit">团队介绍</div>
            <div class="tit_gray">TEAM TO INTRODUCE</div>
            <div class="list_tit list_tit2">我们的经验和实力值得您的期盼</div>
            <div class="list_con">
              <div>{{abouitem.jieshao}}</div>
            </div>
          </div>
          <img :src="this.$common.baseUrl + abouitem.jieshao_image" class="list_img1"/>
        </div>
        <div class="fengcai">
          <div class="list_tit">团队风采</div>
          <div class="jiantou">
            <div class="tit_gray tit_gray2">TEAM ELEGANT DEMEANOUR</div>
            <img src="../assets/jt.png" class="jt_img"/>
          </div>
          <div class="list list2">
            <img v-for="item in iamgeList" :src="item.fengcai_image" class="fc_img"/>
          </div>
        </div>
      </div>

    </div>
    <foo></foo>
  </div>
</template>

<script>
  import too from '../components/too'
  import foo from '../components/foo'
  export default {
    name: 'abouts',
    components:{
      too,
      foo
    },
    data () {
      return {
        abouitem: '',
        iamgeList: []
      }
    },
    created(){
      this.initData();
    },
    methods:{
      initData(){
        this.$http.post(this.$common.baseUrl + '/api/Guanwang/gsjj').then( res =>{
          if(res.data.code == 1){
            this.abouitem = res.data.data[0]
          }
        })
        this.$http.post(this.$common.baseUrl + '/api/Guanwang/tdfc').then( res =>{
          if(res.data.code == 1){
            for(let k in res.data.data){
              res.data.data[k].fengcai_image = this.$common.baseUrl + res.data.data[k].fengcai_image
            }
            this.iamgeList = res.data.data;
          }
        })
      }
    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  .all{
    width: 100%;
    font-size: 2vw;
    color: #333333;
  }
  .top{
    width: 100%;
  }
  .top_img{
    width: 100%;
    height: auto;
  }
  .fu{
    position: relative;
    height: 122vw;
  }
  .about{
    padding-top: 5vw;
    font-size: 15vw;
    color: #F2F2F2;
    letter-spacing: 0.02rem;
  }
  .our{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2vw;
    color: #A5A5A5;
    padding-bottom: 0.2rem;
  }
  .our_img{
    width: 15%;
    height: auto;
    margin: 0 2vw;
  }
  .img1{
    width: 100%;
    position: absolute;
    top: 14vw;
  }
  .guanyu{
    position: absolute;
    left: 10%;
    top:21vw;
    width: 80%;
    box-shadow:0 2px 5px #909090;
    background: #FFF;
  }
  .gy_tit{
    padding: 2vw 0 1vw 0;
    color: #0086CC;
    font-size: 3.5vw;
    letter-spacing: 0.02rem;
  }
  .gy_img{
    width: 52%;
    height: auto;
    margin: auto;
  }
  .list{
    display: flex;
    justify-content: space-between;
    padding: 1vw 3vw;
  }
  .list_img1{
    width: 44%;
    height: auto;
  }
  .list_right{
    width: 48%;
    letter-spacing: 0.02rem;
    text-align: left;
  }
  .list_tit{
    font-size: 2.1vw;
    text-shadow:1px 1px 1px #333333;
  }
  .list_tit2{
    font-size: 1.8vw;
    padding-bottom: 1vw;
  }
  .tit_gray{
    color: #999999;
    font-size: 1.5vw;
    padding: 1vw 0 1.5vw 0;
  }
  .list_con{
    color: #565656;
    font-size: 1.5vw;
    line-height: 3vw;
    text-shadow:0 0 1px #565656;
  }
  .fengcai{
    padding: 1vw 3vw;
    text-align: left;
  }
  .jiantou{
    display: flex;
    justify-content: flex-start;
    padding: 0.2rem 0;
  }
  .tit_gray2{
    padding: 0;
  }
  .jt_img{
    width: 60%;
    height: auto;
    margin: 1vw 0 0 1vw;
  }
  .list2{
    padding: 0.5vw 0 1.5vw 0;
  }
  .fc_img{
    width: 30%;
    height: auto;
  }
  @media only screen and (max-width: 1400px) {
    .fu{
      height: 140vw;
    }
  }
  @media only screen and (max-width: 1200px) {
    *{
      font-size: 15px!important;
    }
    .list_con{
      line-height: 0.3rem;
    }
    .fu{
      height: 20rem;
    }
    .img1{
      top: 1rem;
    }
  }
</style>
